         PAGE  84,132
         .SALL

;          FILE = PROTECT/ASM   LAST MODIFIED: 11/24/84

;          FILE PROTECTION DISABLED IN THIS MODULE

         NAME    PROTECT
         TITLE   PROTECT V1.0 - (C) 1984 BOB WITHERS & STEVE O'DEA

         SUBTTL  ADVENTURE KERNEL SYSTEM INTERFACE MODULE
         PAGE    +

         INCLUDE ADVEQU.ASM

         INCLUDE ADVMACRO.ASM

ABS0     SEGMENT AT 0000H

         ORG   0070H
TIMER_INT DD   ?                  ;TIMER TICK INTERRUPT VECTOR

         ORG   0410H
EQUIP_FLAG DW  ?                  ;EQUIPMENT INSTALLED FLAG

         ORG   043FH
MOTOR_STATUS DB ?

         ORG   046CH
TIMER_LOW1 DB  ?
TIMER_LOW2 DB  ?                  ;LOW ORDER BYTE OF TIMER_LOW

ABS0     ENDS

DATA     SEGMENT PUBLIC

         PUBLIC  VALIDSW,     PROTSW

PROTSW   DB    0
DRIVE    DB    0
TRACK    DB    32
SECTOR   DB    11
SECBUF   DB    512 DUP(?)
VALIDSW  DB    0FFH

DATA     ENDS

CODE     SEGMENT PUBLIC

         ASSUME  CS:CODE,DS:DATA,ES:ABS0

         PUBLIC  CHKCOPY

         DB    'TCETORP - V1.0  11/20/84'

;********************************************************************
;
;  CHKCOPY - CHECK FOR ILLEGAL COPY AND SET SWITCHES TO PREVENT
;            GAME FROM BEING COMPLETED.
;
;            ** THIS VERSION LINKS IN UNPROTECTED COPY **
;
;         INPUT:  NONE
;         OUTPUT: NONE
;
;********************************************************************

CHKCOPY  PROC
         MOV   AL,VALIDSW
         MOV   PROTSW,AL
         RET
CHKCOPY  ENDP

CODE     ENDS
         END

;        END FILE = PROTECT/ASM
